New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@govuk-react/text-area

Package Overview
Dependencies
Maintainers
5
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@govuk-react/text-area

Styled textarea supporting additional parameters via props.

  • 0.2.12
  • npm
  • Socket score

Version published
Weekly downloads
2.5K
decreased by-68.05%
Maintainers
5
Weekly downloads
 
Created
Source

TextArea

Import

  import TextArea from '@govuk-react/text-area';

Usage

Simple

<TextArea name="group1">Description of what you saw</TextArea>

TextArea with hint text

<TextArea name="group1" hint={['Enter as many words as you like']}>
  Description of what you saw
</TextArea>

TextArea with hint text & error

const meta = {
  touched: true,
  error: 'Example',
};

<TextArea
   name="group1"
   hint={['Enter as many words as you like']}
   meta={meta}
 >
   Description of what you saw
 </TextArea>

References:

  • https://github.com/alphagov/govuk-frontend/tree/master/src/components/textarea

Properties

PropRequiredDefaultTypeDescription
childrentrue``````node
hintundefinedstring
input{}shape[object Object]
meta{}shape[object Object]

FAQs

Package last updated on 26 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc